package business.report.impl;

import business.report.WaterwayTransportPersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import report.domain.WaterwayTransportPerson;
import report.domain.WaterwayTransportPersonCriteria;
import report.mapper.WaterwayTransportPersonMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "wtPersonService")
public class WaterwayTransportPersonServiceImpl implements WaterwayTransportPersonService{
    @Autowired
    WaterwayTransportPersonMapper waterwayTransportPersonMapper;

    @Override
    public List<WaterwayTransportPerson> getWaterwayTransportPerson() {
        WaterwayTransportPersonCriteria criteria= new WaterwayTransportPersonCriteria();
        criteria.createCriteria().getAllCriteria();
        return waterwayTransportPersonMapper.selectByExample(criteria);
    }
}
